import scrapy

from commonresources.spider_items.base_item import BaseItem


class BeiJingShiZhengFuCaiGouWangItem(BaseItem):
    """北京市政府采购网 Item"""
    announcement_type = scrapy.Field()
    info_type = scrapy.Field()

class BeiJingShiGongGongZiYuanJiaoYiFuWuPingTaiItem(BaseItem):
    """北京市政府采购网 Item"""
    # 公告类型
    announcement_type = scrapy.Field()
    # 所属地区
    project_area = scrapy.Field()
    # 发布时间
    release_time = scrapy.Field()
    # 标题
    announcement_title = scrapy.Field()
    # 项目名称
    project_title = scrapy.Field()
    # 详情页的url
    origin_url = scrapy.Field()
    #源码
    html = scrapy.Field()
    #公告公示(该网站特有的)
    public_announcement_type = scrapy.Field()
    #类型
    info_type = scrapy.Field()


class BeiJingShiGongGongZiYuanZongHeJiaoYiXiTongItem(BaseItem):
    bidsection_number = scrapy.Field() #标段编号
    project_type = scrapy.Field() #工程类别
    project_name = scrapy.Field() #项目名称


class BeiJingShiJianSheGongChengXinXiWangItem(BaseItem):
    project_num = scrapy.Field()
